This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: working as expected, no bug at all ... ~Umberto Nongeroson 9.Oct.03 09:33 AM a Web browser General 6.0.3; 6.0.2 CF2; 6.0.2 CF1; 6.0.2; 6.0.1 CF3; 6.0.1 CF2; 6.0.1 CF1; 6.0.1; 6.0All Platforms
From your initial posting :
i tryed several things to make a workaround, but there is not function to avoid those. Even if i am destroying the collection, memoring the UNIDs and then processing the docs by GetDocumentByUNID gets also the document in memory at the time it was first touched by the agent.
Well, I think that's a good idea, but the problem here is also about the scope of variables. Try this : place the ComputeWithForm and the save stuff in a subroutine. When calling this subroutine from within your loop, pass the NoteID of the document, and use this NoteID in the subroutine to fetch the document using the GetDocumentByID method.
In this way, when being in the subroutine, LS doesn't have any pointers to the existing documents and documentcollections.